<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>

<div class="t_bar">
    <span class="color_red">*</span>${param.title }
</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="org_funds" cellspacing="1">
    <col width="20%"/>
    <col width="20%"/>
    <col width="20%"/>
    <col width="20%"/>
    <col width="20%"/>
    <tr>
        <td align="right">公司名称：</td>
        <td colspan="4">
             <span name="organizations/organization/org_name">
                 <x:out select="$xmlData/data/organizations/organization[@submit_org='1']/org_name"/>
             </span>
        </td>
    </tr>
    <tr>
        <td align="right">立项年度：</td>
        <td colspan="4">
            <input type='text' name='proposal/approval_year' id='approval_year' class="input_css required year" maxlength="4"
                   style="text-align: right;" value="<x:out select="$xmlData/data/proposal/approval_year"/>" label="立项年度">
        </td>
    </tr>
    <tr>
        <td class="TblHead" align="center" ><strong>会计年度</strong></td>
        <td class="TblHead" align="center" ><strong><span name="budget/select_yea1">${param.statyear-3}</span>年</strong></td>
        <td class="TblHead" align="center" ><strong><span name="budget/select_yea2">${param.statyear-2}</span>年</strong></td>
        <td class="TblHead" align="center" ><strong><span name="budget/select_yea3">${param.statyear-1}</span>年</strong></td>
        <td class="TblHead" align="center" ><strong>合计</strong></td>
    </tr>
    <tr>
        <td align="center"><strong>实缴纳税收（万元）</strong></td>
        <td align="right">
            <input type="text" name="proposal/finance/paid_tax_year1" id="paid_tax_year1"
                   style="text-align:right; width:80%;" label="实缴纳税收-->${param.statyear-3}年" class="required"
                   onchange="countFundAuto('paid_','tax_year1,tax_year2,tax_year3','tax_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/paid_tax_year1" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
        <td align="right">
            <input type="text" name="proposal/finance/paid_tax_year2" id="paid_tax_year2"
                   style="text-align:right; width:80%;" label="实缴纳税收-->${param.statyear-2}年" class="required"
                   onchange="countFundAuto('paid_','tax_year1,tax_year2,tax_year3','tax_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/paid_tax_year2" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
        <td align="right">
            <input type="text" name="proposal/finance/paid_tax_year3" id="paid_tax_year3"
                   style="text-align:right; width:80%;" label="实缴纳税收-->${param.statyear-1}年" class="required"
                   onchange="countFundAuto('paid_','tax_year1,tax_year2,tax_year3','tax_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/paid_tax_year3" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
        <td align="right">
            <input type="text" name="proposal/finance/paid_tax_total" id="paid_tax_total"
                   style="text-align:right; width:80%;" label="实缴纳税收-->合计" class="gray"  disabled
                   value="<x:out select="$xmlData/data/proposal/finance/paid_tax_total" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
    </tr>
    <tr>
        <td align="center"><strong>设备投入（万元）</strong></td>
        <td align="right">
            <input type="text" name="proposal/finance/shebei_touru_year1" id="shebei_touru_year1"
                   style="text-align:right; width:80%;" label="设备投入-->${param.statyear-3}年" class="required"
                   onchange="countFundAuto('shebei_','touru_year1,touru_year2,touru_year3','touru_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/shebei_touru_year1" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
        <td align="right">
            <input type="text" name="proposal/finance/shebei_touru_year2" id="shebei_touru_year2"
                   style="text-align:right; width:80%;" label="设备投入-->${param.statyear-2}" class="required"
                   onchange="countFundAuto('shebei_','touru_year1,touru_year2,touru_year3','touru_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/shebei_touru_year2" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
        <td align="right">
            <input type="text" name="proposal/finance/shebei_touru_year3" id="shebei_touru_year3"
                   style="text-align:right; width:80%;" label="设备投入-->${param.statyear-1}" class="required"
                   onchange="countFundAuto('shebei_','touru_year1,touru_year2,touru_year3','touru_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/shebei_touru_year3" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
        <td align="right">
            <input type="text" name="proposal/finance/shebei_touru_total" id="shebei_touru_total"
                   style="text-align:right; width:80%;" label="设备投入-->合计" class="gray" disabled
                   value="<x:out select="$xmlData/data/proposal/finance/shebei_touru_total" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
    </tr>
    <tr>
        <td align="center"><strong>营业收入（万元）</strong></td>
        <td align="right">
            <input type="text" name="proposal/finance/yinye_shouru_year1" id="yinye_shouru_year1"
                   style="text-align:right; width:80%;" label="营业收入-->${param.statyear-3}年" class="required"
                   onchange="countFundAuto('yinye_','shouru_year1,shouru_year2,shouru_year3','shouru_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/yinye_shouru_year1" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
        <td align="right">
            <input type="text" name="proposal/finance/yinye_shouru_year2" id="yinye_shouru_year2"
                   style="text-align:right; width:80%;" label="营业收入-->${param.statyear-2}" class="required"
                   onchange="countFundAuto('yinye_','shouru_year1,shouru_year2,shouru_year3','shouru_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/yinye_shouru_year2" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
        <td align="right">
            <input type="text" name="proposal/finance/yinye_shouru_year3" id="yinye_shouru_year3"
                   style="text-align:right; width:80%;" label="营业收入-->${param.statyear-1}" class="required"
                   onchange="countFundAuto('yinye_','shouru_year1,shouru_year2,shouru_year3','shouru_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/yinye_shouru_year3" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
        <td align="right">
            <input type="text" name="proposal/finance/yinye_shouru_total" id="yinye_shouru_total"
                   style="text-align:right; width:80%;" label="营业收入-->合计" class="gray" disabled
                   onchange="countFundAuto('yinye_','shouru_year1,shouru_year2,shouru_year3','shouru_total')"
                   value="<x:out select="$xmlData/data/proposal/finance/yinye_shouru_total" />"
                   onfocus="InitInput.setNumber(this,9,2,2)"/>
        </td>
    </tr>
    <tr>
        <td colspan="5">
            <p>备注：<br>${param.statyear-3}-${param.statyear-1}会计年度相关数据</p>
        </td>
    </tr>

</table>